#ifndef VIDEOCONTROL_H
#define VIDEOCONTROL_H

#include <QFrame>
#include "video/videoplayer.h"

class VideoControl : public QFrame
{
    Q_OBJECT
public:
    explicit VideoControl(QWidget *parent = nullptr);   

    VideoPlayer* player();

protected:
    void resizeEvent(QResizeEvent* e);

private:
    VideoPlayer* m_player;
};

#endif // VIDEOCONTROL_H
